package com.un.ebs.sale.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * @author liubo
 * @email liubocs@163.com
 * @date 2020/8/19 12:24
 */
@Data
public class SaleDeliverNoteUpdateDto {

    private String id;

    private String contractCode;

    @NotNull(message = "请填写联系人。")
    private String linkman;

    private String phone;

    @NotNull(message = "请收货地址。")
    private String deliverAdd;

    //@NotNull(message = "请指定运输方式。")
    private String deliverTypeDict;

    private String purchaseOrderCode;

    private String remark;

    private Date deliverDate;

    private List<SaleDeliverNoteItemDto> items;
}
